package com.ruoyi.eservice.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店家管理对象 eservice_business
 *
 * @author Jackson
 * @date 2022-11-11
 */
@TableName(value = "eservice_business")
public class Business extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 店家ID */
    @Excel(name = "店家ID")
    /**
     * IdType.AUTO          数据库ID自增
     * IdType.INPUT         用户输入ID
     * IdType.ASSIGN_ID     全局唯一ID，内容为空自动填充（雪花算法）
     * IdType.ASSIGN_UUID   全局唯一ID，内容为空自动填充
     */
    @TableId(type = IdType.AUTO)
    private Long businessId;

    /** 店主名字 */
    @Excel(name = "店主名字")
    private String name;

    /** 店家名字 */
    @Excel(name = "店家名字")
    private String businessName;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 疫情状态 */
    @Excel(name = "疫情状态")
    private String yiqingState;

    /** 地点 */
    @Excel(name = "地点")
    private String didian;

    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setBusinessName(String businessName)
    {
        this.businessName = businessName;
    }

    public String getBusinessName()
    {
        return businessName;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setYiqingState(String yiqingState)
    {
        this.yiqingState = yiqingState;
    }

    public String getYiqingState()
    {
        return yiqingState;
    }
    public void setDidian(String didian)
    {
        this.didian = didian;
    }

    public String getDidian()
    {
        return didian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("name", getName())
            .append("businessName", getBusinessName())
            .append("state", getState())
            .append("phone", getPhone())
            .append("yiqingState", getYiqingState())
            .append("didian", getDidian())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
